package ooday05_vls;
//复杂枚举测试类
public class EnumTest {
    public static void main(String[] args) {
        Seasons[] seasons = Seasons.values();
        for (Seasons s : seasons) {
            System.out.println(s.getSeasonName());
            System.out.println(s.getSeasonDesc());
        }
        Seasons s = Seasons.SPRING;
        System.out.println(s.getSeasonDesc());
        System.out.println(s.getSeasonName());
    }
}
